﻿package com.ufenlei.LTS{

	import flash.display.Sprite;
	import flash.display.DisplayObject;

	public class Body extends Sprite {
		protected var _container:Sprite;
		
		public function Body() {
			_container = new Sprite();
			addChild(_container);
		}
		public function addContent(d:DisplayObject):void{
			this._container.addChild(d);
		}
		public function removeContent(d:DisplayObject):void{
			this._container.removeChild(d);
		}
		public function removeAllContent():void{
			while( this._container.numChildren > 0 ){
				this._container.removeChildAt(this._container.numChildren-1);
			}
		}
	}
}